package com.bird.extension.pattern.abstractfactory;

import com.bird.extension.pattern.simpleFactory.entity.LenovoMouse;
import com.bird.extension.pattern.simpleFactory.entity.Mouse;

/**
 * @Author: sijunqiang
 * @Date: 2020/4/4 11:59
 * @Description: define lenove computer factory to produce mouse and keyBoard module
 */
public class LenovoComputerFactory implements ComputerFactory {
    @Override
    public Mouse createMouse() {
        return new LenovoMouse();
    }

    @Override
    public KeyBoard createKeyBord() {
        return new LenovoKeyBoard();
    }
}
